
package com.gopay.scheduler.dao;

import java.io.Serializable;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cps.CpsGenReceiptOrder;
import com.gopay.common.exception.GopayException;

/**
 * 
 * @ReceiptOrderDAO.java
 * @author dongdh
 * @2016年5月25日 下午6:27:41  www.gopay.com.cn Inc.All rights reserved.
 */

public interface ReceiptOrderDAO extends BaseDAO<CpsGenReceiptOrder, Serializable>{

    boolean updateAuthResult(String gopayOrderId, String result) throws GopayException;

    /**
     * 更新分账子订单的分账状态为失败
     * @author lichenyu
     * @date 2018-03-16 16:27:40
     * @params
     * @param gopayOrderId :
     * @return boolean
     * @throws
     */
    boolean cleanDelaySplitOrder(String gopayOrderId)throws GopayException;
}
